// Decompiled by GOOSIN CO,LTD Copyright 2010 Pavel Kouznetsov.
// home page: http://www.Goosin.net
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   getCurrentTime.java

package include.text_manage;

import java.text.SimpleDateFormat;
import java.util.Date;

public class getCurrentTime
{

	public getCurrentTime()
	{
	}

	public String getCurrentTime()
	{
		Date now = new Date();
		SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd-HHmmSS");
		String time = formater.format(now);
		return time;
	}

	public String getCurrent()
	{
		Date now = new Date();
		SimpleDateFormat formater = new SimpleDateFormat("yyyy-MM-dd");
		String time = formater.format(now);
		return time;
	}

	public String getYear()
	{
		Date now = new Date();
		SimpleDateFormat formater = new SimpleDateFormat("yyyy");
		String time = formater.format(now);
		return time;
	}
}
